﻿<%@ Page Title="" Language="C#" MasterPageFile="~/uc/Shop.Master" AutoEventWireup="true" CodeBehind="join.aspx.cs" Inherits="ncp.Web.Shop.join" %>
<asp:Content ID="Content1" ContentPlaceHolderID="header" runat="server">
<title>招商加盟_中国农业信息化服务商</title>
<script src="/js/paging.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="rightContent" runat="server">
<div class="bh-dian-right-h-yy">
        <h3>招商加盟</h3>
</div>
<div class="bh-dian-con-yy">
    <div class="bh-qy-con-yy">
        <ul  id="content" class="bh-qu1-yy">
        </ul>
        <div id="paging" class="bh-zzg-ny-cleftbrbottom"></div>
    </div>
</div>
<script type="text/javascript">
    var paging;
    $(function() {
        paging = new Paging();
        paging.dataCount = 0;
        var response = ncp.Web.Shop.join.GetNewsCount(shopId);
        if (response.value != null) {
            var jsonOBJ = eval(response.value)[0];
            if (jsonOBJ.isreload) {
                paging.dataCount = jsonOBJ.msg;
            }
        }
        paging.pageSize = 15;
        paging.loadPagingText();
        paging.query();
    });
Paging.prototype.query = function() {
            var rep = ncp.Web.Shop.join.GetNewsList(paging.pageIndex-1, paging.pageSize, shopId);
            if (rep.value != null) {
                var json = eval(rep.value)[0];
                if (json.isreload) {
                    $("#content").html(json.msg);
                }
            }
        }
</script>
</asp:Content>
